Technical Q&As

QD3D 86: Errors in QADrawContextNew (20-April-98)


Q My code looks just like the sample code, but QADrawContextNew returns an error. What am I doing wrong?

A You need to make sure that 'enums always int' is turned on in your compiler settings. One good way to enforce this is to add the following code to a common header file:

#ifdef __MWERKS__

    #if !__option (enumsalwaysint)
 
        #error "Enums always int must be turned on for RAVE"  
     #endif
 
#endif


-- Timothy Carroll
Worldwide Developer Technical Support

Technical Q&As
Previous Question | Contents | Next Question


To contact us, please use the Contact Us page.